﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Goway.StackingUC.Entity
{
    /// <summary>
    /// Stacking 标记位错误码
    /// </summary>
    public class RWErrorCode
    {
        /// <summary>
        /// 成功
        /// </summary>
        public const int SUCCESS = 1;

        /// <summary>
        /// 失败
        /// </summary>
        public const int FAILED = 0;
    }

    /// <summary>
    /// 堆垛机读写内容
    /// </summary>
    public class RWContent
    {
        /// <summary>
        /// 读写内容 0
        /// </summary>
        public const short RW_VALUE_0 = 0;

        /// <summary>
        /// 读写内容 1
        /// </summary>
        public const short RW_VALUE_1 = 1;

        /// <summary>
        /// 发生故障
        /// </summary>
        public const short OCCUR_MALFUNCTION_2 = 2;
    }
}
